﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Portal.Core;

namespace Portal.Cms.Model
{
    public class StatiticsPermission: PermissionTemplate
    {
        public static string StaticId
        {
            get
            {
                return "Statitics";
            }
        }
        public override string Id
        {
            get
            {
                return StaticId;
            }
        }

        

        public override string PermissionTypeName
        {
            get
            {
                return "Phân quyền xem thống kế báo cáo";
            }
        }

        public override PermissionFunctionCls[] PermissionFunctions
        {
            get
            {
                return new PermissionFunctionCls[]{
                    new PermissionFunctionCls(funcAccess,Id,"Cho phép xem thống kê báo cáo"),
                };
            }
        }

        public static string funcAccess
        {
            get
            {
                return StaticId + "-Access";
            }
        }
    }
}
